﻿using Microsoft.AspNetCore.Http;
using SportsPlatform.Model.SportBusiness;
using SportsPlatform.Repository.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.Repository.CompetitionRepository
{
    /// <summary>
    /// 赛事数据访问层实现
    /// </summary>
    public class CompetitionRepository : UldAdminBaseRepository<Competition>, ICompetitionRepository
    {
        /// <summary>
        /// HttpContext
        /// </summary>
        private readonly IHttpContextAccessor context;
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="context"></param>
        public CompetitionRepository(IHttpContextAccessor context) : base(context)
        {
            this.context = context;
        }
        public CompetitionRepository()
        {

        }
    }
}
